package cn.fighter3.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@TableName("subject_book")
public class SubjectBook {
    @TableField("b_id")
    private int bookId;

    @TableField("b_name")
    private String bookName;

    @TableField("show_status")
    @TableLogic(value = "0")
    private String showStatus;

    public SubjectBook(){}

    public void setBookName(String name){
        this.bookName = name;
    }

    public void setBookId(int id){
        this.bookId = id;
    }

    public int getBookId() {
        return bookId;
    }

    public String getBookName() {
        return bookName;
    }
}
